﻿using NFine.Code;
using NFine.Data;
using NFine.Domain.Entity.BusinessManage;
using NFine.Domain.Entity.SystemManage;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace NFine.Domain.IRepository.BusinessManage
{
    public interface ID_AmountChangeRepository : IRepositoryBase<D_AmountChangeEntity>
    {
        D_AmountChangeEntity FindMemberEntity(string keyValue, string userId);

        void ClearInitAmount();
        void SubmitForm(D_AmountChangeEntity entity, UserEntity LoginUser, string keyValue);
        void UpdateForm(D_AmountChangeEntity entity, string keyValue);

        void SubTransfer(D_AmountChangeEntity entity);

        List<D_AmountChangeEntity> FindOwnTransList(Expression<Func<D_AmountChangeEntity, bool>> predicate, Expression<Func<UserEntity, bool>> predicate1, Pagination pagination);
    }
}
